package com.services;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;

@WebService
public class Hello {
	private String message = "Hello, ";
	
	public Hello() {
	}
	
	@WebMethod
	public String sayHello(@WebParam(name="name") String name) {
		System.out.println("AAAAAAAAA");
		return message + name;
	}
	
	@WebMethod
	public String sayHello2(@WebParam(name="name") String name, @WebParam(name="age") int age) {
		return message + name + ", your age is " + age;
	}
	
}
